package com.ychen.user.controller;

import com.ychen.user.aspect.UserAccess;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ Author     ：ChenYuliao
 * @ Date       ：Created in 16:36 2018/12/2 0002
 * @ Description：
 */
@RestController
public class SecondController {
    @RequestMapping("/second")
    @UserAccess(desc = "second")
    public Object second() {
        return "second controller";
    }
}
